import Mock from 'mockjs'
// 接口地址

Mock.mock('http://localhost:8888/book/init', 'get', (res)=>({

        code:200,

      "data": [  
        {
        bookId: '1',
        bookName: 'Thinking In Java',
        bookAuthor: '王小虎',
        score: 4.9
        
        }, 
        {
        id: '2',
        bookname: 'Thinking In C++',
        author: '王小虎',
        score: 3.7
        }, 
        {
        id: '3',
        bookname: 'Thinking In python',
        author: '王小虎',
        score: 4.1
        }, 
        {
        id: '4',
        bookname: 'Thinking In Js',
        author: '王小虎',
        score: 2.9
        }
        ]}
            
    ));
